package com.ruoyi.system.domain.module.points;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import java.io.Serializable;
import java.util.Date;

/**
 * 积分使用记录对象 poins_record
 *
 * @author ruoyi
 * @date 2025-06-01
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("estate_points_record")
public class EstatePointsRecord implements Serializable {

    private static final long serialVersionUID = 1L;


    /**
     * $column.columnComment
     */
    @TableId(value = "id",type = IdType.AUTO)
    private Long id;

	private Long propertyId;

	@TableField(exist = false)
	private String propertyName;

    /**
     * 所属小区
     */
    private Long estateId;

	@TableField(exist = false)
	private String estateName;

    /**
     * 微信id
     */
    private Long wxUserId;

	@TableField(exist = false)
	private String wxUserName;

	@TableField(exist = false)
	private String faceUrl;

    /**
     * 动账时间
     */
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    /**
     * 使用积分数量
     */
    private Long usePointsNum;

    /**
     * 是否为清除积分操作 0 - 普通操作 1 - 批量清除操作
     */
    private Long isDel;

    /**
     * 增加或减少积分  0 - 减少  1 - 增加
     */
    private Long isAdd;

}
